import React, { Component, Fragment } from "react";

import { Tabs } from "antd";

// 合并页面
import Dashboard1 from "./Dashboard1";
import Dashboard2 from "./Dashboard2";
import Dashboard3 from "./Dashboard3";


const { TabPane } = Tabs;

class Index extends Component {
    constructor(props){
        super(props);  
        this.setState = {} 
    }

    render(){
        return (
            <Fragment>
                <Tabs defaultActiveKey="1">
                    <TabPane tab="趋势告警" key="1">
                        <Dashboard1 />
                    </TabPane>
                    <TabPane tab="业务告警" key="2">
                        <Dashboard2 />
                    </TabPane>
                    <TabPane tab="容器告警" key="3">
                        <Dashboard3 />
                    </TabPane>
                </Tabs>
            </Fragment>
        )
    }
}

export default Index;